x86emul: use eflags definitions in x86-defns.h
authorWei Liu <wei.liu2@citrix.com>
Mon, 30 Jan 2017 14:00:46 +0000 (14:00 +0000)
committerWei Liu <wei.liu2@citrix.com>
Mon, 6 Feb 2017 10:15:49 +0000 (10:15 +0000)
commit7603eb256afdc1e445a33526c5af0f5704edb532
treecada4d87f11896575a8e3987b1e4b5103b49db37
parent588a28187a887e81dab07b6c175c800dc5d642fb
x86emul: use eflags definitions in x86-defns.h

Basically this patch does 's/EFLG_/X86_EFLAGS_/g' and with indentation
fixed up. And remove the duplicates in x86_emualte.c.  This in turn
requires userspace test harness to include x86-defns.h. Also remove a
few duplicates in userspace harness program.

No functional change.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
tools/fuzz/x86_instruction_emulator/Makefile
tools/tests/x86_emulator/Makefile
tools/tests/x86_emulator/test_x86_emulator.c
tools/tests/x86_emulator/x86_emulate.h
xen/arch/x86/x86_emulate/x86_emulate.c